import QtQuick 1.0

Item{
    id: plate
    y: 525
    x: 180-15
    objectName: "myplate"
    width: plateImage.width
    height: plateImage.height
//    onXChanged: console.log(cole.children.x)

    Image{
        id: plateImage
        source: "images/as/as_plate.png"
        MouseArea{
            id: auo
            anchors.fill: parent
            drag.target: plate
            drag.axis: Drag.XAxis
            drag.minimumX: 0
            drag.maximumX: 360-plateImage.width
        }
    }

    Item{
        id: cole
        objectName: "cole"
    }


//    onPosChanged: console.log(plate.x)
}
